What is like a moth to a flame?

The phrase "like a moth to a flame" is an idiom that describes a strong, often irresistible attraction towards something that may be harmful or dangerous. This expression is derived from the behavior of moths, which are attracted to bright lights or flames even though getting too close can result in their harm or death. In a broader sense, the idiom is used to depict situations where a person is drawn to something despite potential negative consequences, such as being attracted to a toxic relationship, a risky situation, or an addictive substance. The phrase highlights the paradox of being allured by something one knows might lead to adverse outcomes.